body {
    width: 100%;
    background-color: #f1f1f1;
}


#container {
    display: flex;
    justify-content: center;
}


/* 背景遮罩 */
#hidden {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000000;
    opacity: 0.3;
    display: none;
}

/* 盒子 */
#box {
    color: #fff;
    width: 40%;
    height: 50%;
    background-color: #40527e;
    display: none;
    flex-direction: column;
    border-radius: 10px;
    align-items: center;
    box-sizing: border-box;
    position: absolute;
    top: 250px;
}

/* 关闭按钮 */
#close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-weight: normal;
    display: block;
    width: 50px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 20px;
    color: #7a9ae4;
}

#close:hover {
    background-color: #52699e;
    cursor: pointer;
}

#buy_form {
    /*width: 80%;*/
    padding: 40px;
}


/* 输入框 */
#box div.mysubmit {
    display: block;
    width: 40%;
    height: 25px;
    border-radius: 25px;
    border: none;
    outline: none;
    padding: 20px;
    background-color: #536a9e;
    text-align: center;
}

#buy {
    border: 0px solid red;
}

#box div.mysubmit input {
    background-color: #536a9e;
    color: whitesmoke;
}


#box input:first-child {
    margin-bottom: 20px;
}

/* 登录按钮 */
#box #add {
    background-color: #02a0a0;
    cursor: pointer;
    height: 25px;
    text-align: center;
}

#box #add:hover {
    background-color: #019191;
}


div.mytable {
    width: 80%;
    margin: auto;
}

div.mypage {
    width: 80%;
    margin: auto;
}

table th,
table {
    text-align: center;
}